package com.erp.erp_entitys.TaskInfo.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 要货任务商品明细表(TaskProductInfo)实体类
 *
 * @author makejava
 * @since 2020-10-18 22:33:39
 */
public class TaskProductInfo implements Serializable {
    private static final long serialVersionUID = -55507071083368951L;
    /**
    * 任务商品ID
    */
    private Integer taskproductid;
    /**
    * 任务主表ID
    */
    private Integer taskid;
    /**
    * 产品ID
    */
    private Integer productid;

    /**
     * 产品图片
     */
    private String img;

    /**
    * 规格ID
    */
    private Integer specid;

    /**
    * 产品条码
    */
    private String barcode;

    /**
    * 产品编码
    */
    private String goodscode;

    /**
    * 规格编码
    */
    private String specno;

    /**
     * 规格说明
     */
    private String goodsspec;

    /**
     * 客户货号
     */
    private String custgoodscode;

    /**
     * 中文名称
     */
    private String goodscname;
    /**
     * 中文描述
     */
    private String goodscdesc;
    /**
     * 英文名称
     */
    private String goodsename;
    /**
     * 英文描述
     */
    private String goodsedesc;

    /**
     * 数量
     */
    private Integer goodsnum;

    /**
    * 产品单位
    */
    private String goodsunit;

    /**
     * 单价
     */
    private BigDecimal unitprice;

    /**
     * 金额小计
     */
    private BigDecimal amountsubtotal;

    /**
     * 颜色
     */
    private String color;

    /**
     * 海关名称
     */
    private Integer customscode;

    /**
     * 报关品名
     */
    private Integer customscommodity;

    /**
     * 英文品名
     */
    private Integer englishname;

    /**
     * 报关单位
     */
    private String customsdeclarationunits;

    /**
     * 进口关税
     */
    private BigDecimal importduties;

    /**
     * 退税率
     */
    private BigDecimal drawbackrate;
    /**
     * 增值税率
     */
    private BigDecimal addtaxrate;

    /**
     * 外包装长
     */
    private BigDecimal packlong;

    /**
     * 外包装宽
     */
    private BigDecimal packwide;

    /**
     * 外包装高
     */
    private BigDecimal packhigh;

    /**
     * 外包装说明
     */
    private BigDecimal descriptionouterpacking;

    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 编辑时间
     */
    private Date edittime;

    /**
    * 件数
    */
    private Integer piecenum;
    /**
    * 每件数量
    */
    private Integer numperpiece;

    /**
    * 体积
    */
    private BigDecimal goodsbulk;
    /**
    * 体积小计
    */
    private BigDecimal totalbulk;
    /**
    * 毛重
    */
    private BigDecimal grossweight;
    /**
    * 毛重小计
    */
    private BigDecimal totalgross;
    /**
    * 净重
    */
    private BigDecimal netweight;
    /**
    * 净重小计
    */
    private BigDecimal totalnet;

    /**
    * 供应商ID
    */
    private Integer supplyerid;


    public Integer getTaskproductid() {
        return taskproductid;
    }

    public void setTaskproductid(Integer taskproductid) {
        this.taskproductid = taskproductid;
    }

    public Integer getTaskid() {
        return taskid;
    }

    public void setTaskid(Integer taskid) {
        this.taskid = taskid;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public Integer getSpecid() {
        return specid;
    }

    public void setSpecid(Integer specid) {
        this.specid = specid;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getGoodscode() {
        return goodscode;
    }

    public void setGoodscode(String goodscode) {
        this.goodscode = goodscode;
    }

    public String getSpecno() {
        return specno;
    }

    public void setSpecno(String specno) {
        this.specno = specno;
    }

    public String getCustgoodscode() {
        return custgoodscode;
    }

    public void setCustgoodscode(String custgoodscode) {
        this.custgoodscode = custgoodscode;
    }

    public String getGoodscname() {
        return goodscname;
    }

    public void setGoodscname(String goodscname) {
        this.goodscname = goodscname;
    }

    public String getGoodscdesc() {
        return goodscdesc;
    }

    public void setGoodscdesc(String goodscdesc) {
        this.goodscdesc = goodscdesc;
    }

    public String getGoodsename() {
        return goodsename;
    }

    public void setGoodsename(String goodsename) {
        this.goodsename = goodsename;
    }

    public String getGoodsedesc() {
        return goodsedesc;
    }

    public void setGoodsedesc(String goodsedesc) {
        this.goodsedesc = goodsedesc;
    }

    public String getGoodsspec() {
        return goodsspec;
    }

    public void setGoodsspec(String goodsspec) {
        this.goodsspec = goodsspec;
    }

    public String getGoodsunit() {
        return goodsunit;
    }

    public void setGoodsunit(String goodsunit) {
        this.goodsunit = goodsunit;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getPiecenum() {
        return piecenum;
    }

    public void setPiecenum(Integer piecenum) {
        this.piecenum = piecenum;
    }

    public Integer getNumperpiece() {
        return numperpiece;
    }

    public void setNumperpiece(Integer numperpiece) {
        this.numperpiece = numperpiece;
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public BigDecimal getGoodsbulk() {
        return goodsbulk;
    }

    public void setGoodsbulk(BigDecimal goodsbulk) {
        this.goodsbulk = goodsbulk;
    }

    public BigDecimal getTotalbulk() {
        return totalbulk;
    }

    public void setTotalbulk(BigDecimal totalbulk) {
        this.totalbulk = totalbulk;
    }

    public BigDecimal getGrossweight() {
        return grossweight;
    }

    public void setGrossweight(BigDecimal grossweight) {
        this.grossweight = grossweight;
    }

    public BigDecimal getTotalgross() {
        return totalgross;
    }

    public void setTotalgross(BigDecimal totalgross) {
        this.totalgross = totalgross;
    }

    public BigDecimal getNetweight() {
        return netweight;
    }

    public void setNetweight(BigDecimal netweight) {
        this.netweight = netweight;
    }

    public BigDecimal getTotalnet() {
        return totalnet;
    }

    public void setTotalnet(BigDecimal totalnet) {
        this.totalnet = totalnet;
    }

    public BigDecimal getDrawbackrate() {
        return drawbackrate;
    }

    public void setDrawbackrate(BigDecimal drawbackrate) {
        this.drawbackrate = drawbackrate;
    }

    public BigDecimal getAddtaxrate() {
        return addtaxrate;
    }

    public void setAddtaxrate(BigDecimal addtaxrate) {
        this.addtaxrate = addtaxrate;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public Integer getSupplyerid() {
        return supplyerid;
    }

    public void setSupplyerid(Integer supplyerid) {
        this.supplyerid = supplyerid;
    }

    public static long getSerialVersionUID() { return serialVersionUID; }

    public BigDecimal getUnitprice() { return unitprice; }

    public void setUnitprice(BigDecimal unitprice) { this.unitprice = unitprice; }

    public BigDecimal getAmountsubtotal() { return amountsubtotal; }

    public void setAmountsubtotal(BigDecimal amountsubtotal) { this.amountsubtotal = amountsubtotal; }

    public Integer getCustomscode() { return customscode; }

    public void setCustomscode(Integer customscode) { this.customscode = customscode; }

    public Integer getCustomscommodity() { return customscommodity; }

    public void setCustomscommodity(Integer customscommodity) { this.customscommodity = customscommodity; }

    public Integer getEnglishname() { return englishname; }

    public void setEnglishname(Integer englishname) { this.englishname = englishname; }

    public String getCustomsdeclarationunits() {return customsdeclarationunits; }

    public void setCustomsdeclarationunits(String customsdeclarationunits) { this.customsdeclarationunits = customsdeclarationunits; }

    public BigDecimal getImportduties() { return importduties; }

    public void setImportduties(BigDecimal importduties) { this.importduties = importduties; }

    public BigDecimal getPacklong() { return packlong; }

    public void setPacklong(BigDecimal packlong) { this.packlong = packlong; }

    public BigDecimal getPackwide() { return packwide; }

    public void setPackwide(BigDecimal packwide) { this.packwide = packwide; }

    public BigDecimal getPackhigh() { return packhigh; }

    public void setPackhigh(BigDecimal packhigh) { this.packhigh = packhigh; }

    public BigDecimal getDescriptionouterpacking() { return descriptionouterpacking; }

    public void setDescriptionouterpacking(BigDecimal descriptionouterpacking) { this.descriptionouterpacking = descriptionouterpacking; }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ResourceSamplesDetailEntity").append('[')
                .append("taskid=")
                .append(taskid)
                .append(",taskproductid=")
                .append(taskproductid)
                .append(",img=")
                .append(img)
                .append(",productid=")
                .append(productid)
                .append(",specid=")
                .append(specid)
                .append(",barcode=")
                .append(barcode)
                .append(",goodscode=")
                .append(goodscode)
                .append(",specno=")
                .append(specno)
                .append(",goodsspec=")
                .append(goodsspec)
                .append(",custgoodscode=")
                .append(custgoodscode)
                .append(",goodscname=")
                .append(goodscname)
                .append(",goodscdesc=")
                .append(goodscdesc)
                .append(",goodsename=")
                .append(goodsename)
                .append(",goodsedesc=")
                .append(goodsedesc)
                .append(",goodsnum=")
                .append(goodsnum)
                .append(",goodsunit=")
                .append(goodsunit)
                .append(",unitprice=")
                .append(unitprice)
                .append(",amountsubtotal=")
                .append(amountsubtotal)
                .append(",color=")
                .append(color)
                .append(",customscode=")
                .append(customscode)
                .append(",customscommodity=")
                .append(customscommodity)
                .append(",englishname=")
                .append(englishname)
                .append(",customsdeclarationunits=")
                .append(customsdeclarationunits)
                .append(",importduties=")
                .append(importduties)
                .append(",drawbackrate=")
                .append(drawbackrate)
                .append(",addtaxrate=")
                .append(addtaxrate)
                .append(",packlong=")
                .append(packlong)
                .append(",packwide=")
                .append(packwide)
                .append(",packhigh=")
                .append(packhigh)
                .append(",descriptionouterpacking=")
                .append(descriptionouterpacking)
                .append(']');
        return sb.toString();
    }
}